
[dbo].[PaymentApplicationRestrictionRef]
CREATE TABLE [dbo].[PaymentApplicationRestrictionRef]
(
[PaymentApplicationRestrictionCode] [int] NOT NULL,
[PaymentApplicationRestrictionDesc] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[PaymentApplicationRestrictionName] [nvarchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PaymentApplicationRestrictionRef] ADD CONSTRAINT [PK_PaymentApplicationRestrictionRef] PRIMARY KEY CLUSTERED ([PaymentApplicationRestrictionCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PaymentApplicationRestrictionRef] ADD CONSTRAINT [AK_PaymentApplicationRestrictionRef_PaymentApplicationRestrictionDesc] UNIQUE NONCLUSTERED ([PaymentApplicationRestrictionDesc]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PaymentApplicationRestrictionRef] ADD CONSTRAINT [AK_PaymentApplicationRestrictionRef_PaymentApplicationRestrictionName] UNIQUE NONCLUSTERED ([PaymentApplicationRestrictionName]) ON [PRIMARY]
GO